File tree Expand file tree Collapse file tree 4 files changed +50
-0
lines changed Expand file tree Collapse file tree 4 files changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This is not a real ipynb file!
2
+ # THIS IS BOGUS BWAHAHA
Original file line number Diff line number Diff line change
1
+ {
2
+ "cells" : [
3
+ {
4
+ "cell_type" : " code" ,
5
+ "execution_count" : 1 ,
6
+ "metadata" : {
7
+ "collapsed" : false
8
+ },
9
+ "outputs" : [
10
+ {
11
+ "name" : " stdout" ,
12
+ "output_type" : " stream" ,
13
+ "text" : [
14
+ " [1] \" Hello world\"\n "
15
+ ]
16
+ }
17
+ ],
18
+ "source" : [
19
+ " print(\" Hello world\" )"
20
+ ]
21
+ }
22
+ ],
23
+ "metadata" : {
24
+ "kernelspec" : {
25
+ "display_name" : " R" ,
26
+ "language" : " R" ,
27
+ "name" : " ir"
28
+ },
29
+ "language_info" : {
30
+ "codemirror_mode" : " r" ,
31
+ "file_extension" : " .r" ,
32
+ "mimetype" : " text/x-r-source" ,
33
+ "name" : " R" ,
34
+ "pygments_lexer" : " r" ,
35
+ "version" : " 3.3.2"
36
+ }
37
+ },
38
+ "nbformat" : 4 ,
39
+ "nbformat_minor" : 0
40
+ }
Original file line number Diff line number Diff line change @@ -41,3 +41,7 @@ def test_all(init):
41
41
def test_bogus_ipynb ():
42
42
with pytest .raises (ImportError ):
43
43
import ipynb .fs .defs .bogus_ipynb as bogus_ipynb
44
+
45
+ def test_r_notebook_ipynb ():
46
+ with pytest .raises (ImportError ):
47
+ import ipynb .fs .defs .r_notebook
Original file line number Diff line number Diff line change @@ -37,3 +37,7 @@ def test_all(init):
37
37
def test_bogus_ipynb ():
38
38
with pytest .raises (ImportError ):
39
39
import ipynb .fs .full .bogus_ipynb as bogus_ipynb
40
+
41
+ def test_r_notebook_ipynb ():
42
+ with pytest .raises (ImportError ):
43
+ import ipynb .fs .full .r_notebook
You can’t perform that action at this time.
0 commit comments