public
Last active

Missing libraries cause ImportError in tests

  • Download Gist
missinglib
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995
**********************************************************************
IPython test group: IPython.config
.................
----------------------------------------------------------------------
Ran 17 tests in 0.012s
 
OK
**********************************************************************
IPython test group: IPython.core
>f2("a b c")
>f1("a", "b", "c")
>f1(1,2,3)
>f2(4)
....................................F.......>autocallable()
>list("1", "2", "3")
>list("1 2 3")
>len(range(1,4))
>list("1", "2", "3")
>list("1 2 3")
>len(range(1,4))
>len("abc")
>len("abc");
>len([1,2])
>call_idx(1)
>list("1", "2", "3")
>list("1 2 3")
>len(range(1,4))
>len("abc")
>len("abc");
>len([1,2])
>call_idx(1)
>len()
..............................................................................................................Out[6]: 1
..Out[9]: 'a\nb'
.Out[10]: 'a'
Out[11]: 'a\nb'
........FFFF.........E...K...F..Out[10]: <A instance>
...test
test
...............................................>f(1)
..............................................................................EEEKSESF.F
======================================================================
ERROR: Failure: error (nothing to repeat)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\loader.py", line 231, in generate
for test in g():
File "c:\python\external\ipython-master\IPython\core\tests\test_magic.py", line 32, in test_rehashx
_ip.magic('rehashx')
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 2628, in magic_rehashx
execre = re.compile(r'(.*)\.(%s)$' % winext,re.IGNORECASE)
File "c:\python26\lib\re.py", line 190, in compile
return _compile(pattern, flags)
File "c:\python26\lib\re.py", line 245, in _compile
raise error, v # invalid expression
error: nothing to repeat
 
======================================================================
ERROR: Check that %run doesn't damage __builtins__
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 123, in test_builtins_id
self.run_tmpfile()
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 116, in run_tmpfile
_ip.magic('run %s' % self.fname)
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
 
======================================================================
ERROR: Check that the type of __builtins__ doesn't change with %run.
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 135, in test_builtins_type
self.run_tmpfile()
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 116, in run_tmpfile
_ip.magic('run %s' % self.fname)
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
 
======================================================================
ERROR: Test that prompts correctly generate after %run
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 140, in test_prompts
self.run_tmpfile()
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 116, in run_tmpfile
_ip.magic('run %s' % self.fname)
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
 
======================================================================
ERROR: Test that simple class definitions work.
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 153, in test_simpledef
_ip.magic('run %s' % self.fname)
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
 
======================================================================
FAIL: IPython.core.tests.test_completer.test_file_completions
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\core\tests\test_completer.py", line 152, in test_file_completions
nt.assert_equal(c, names)
AssertionError: [] != ['c:\\users\\jstenar\\appdata\\local\\temp\\tmpza69cd\\foo1', 'c:\\users\\jstenar\\appdata\\local\
\temp\\tmpza69cd\\foo2']
>> raise self.failureException, \
(None or '%r != %r' % ([], ['c:\\users\\jstenar\\appdata\\local\\temp\\tmpza69cd\\foo1', 'c:\\users\\jstenar\\
appdata\\local\\temp\\tmpza69cd\\foo2']))
 
 
======================================================================
FAIL: Doctest: IPython.core.tests.test_iplib.doctest_tb_context
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.core.tests.test_iplib.doctest_tb_context
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 82, in doctest_tb_context
 
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 87, in IPython.core.tests.test_iplib.doc
test_tb_context
Failed example:
get_ipython().magic(u"run simpleerr.py")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_iplib.doctest_tb_context[1]>", line 1, in <module>
get_ipython().magic(u"run simpleerr.py")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
 
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x040F7F08>.getvalue()))
 
 
======================================================================
FAIL: Doctest: IPython.core.tests.test_iplib.doctest_tb_plain
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.core.tests.test_iplib.doctest_tb_plain
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 65, in doctest_tb_plain
 
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 70, in IPython.core.tests.test_iplib.doc
test_tb_plain
Failed example:
get_ipython().magic(u"run simpleerr.py")
Expected:
Traceback (most recent call last):
...line 32, in <module>
bar(mode)
...line 16, in bar
div0()
...line 8, in div0
x/y
ZeroDivisionError: integer division or modulo by zero
Got:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_iplib.doctest_tb_plain[1]>", line 1, in <module>
get_ipython().magic(u"run simpleerr.py")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
 
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x041478A0>.getvalue()))
 
 
======================================================================
FAIL: Doctest: IPython.core.tests.test_iplib.doctest_tb_sysexit
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.core.tests.test_iplib.doctest_tb_sysexit
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 151, in doctest_tb_sysexit
 
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 156, in IPython.core.tests.test_iplib.do
ctest_tb_sysexit
Failed example:
get_ipython().magic(u"run simpleerr.py exit")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_iplib.doctest_tb_sysexit[1]>", line 1, in <module>
get_ipython().magic(u"run simpleerr.py exit")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 160, in IPython.core.tests.test_iplib.do
ctest_tb_sysexit
Failed example:
get_ipython().magic(u"run simpleerr.py exit 2")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_iplib.doctest_tb_sysexit[2]>", line 1, in <module>
get_ipython().magic(u"run simpleerr.py exit 2")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 164, in IPython.core.tests.test_iplib.do
ctest_tb_sysexit
Failed example:
get_ipython().magic(u"tb ")
Expected:
Traceback (most recent call last):
File ... in <module>
bar(mode)
File ... line 22, in bar
sysexit(stat, mode)
File ... line 11, in sysexit
raise SystemExit(stat, 'Mode = %s' % mode)
SystemExit: (2, u'Mode = exit')
Got:
Traceback (most recent call last):
File "<doctest IPython.core.tests.test_iplib.doctest_tb_sysexit[2]>", line 1, in <module>
get_ipython().magic(u"run simpleerr.py exit 2")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
<BLANKLINE>
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 177, in IPython.core.tests.test_iplib.do
ctest_tb_sysexit
Failed example:
get_ipython().magic(u"tb ")
Expected:
---------------------------------------------------------------------------
SystemExit Traceback (most recent call last)
<BLANKLINE>
...<module>()
30 mode = 'div'
31
---> 32 bar(mode)
<BLANKLINE>
...bar(mode)
20 except:
21 stat = 1
---> 22 sysexit(stat, mode)
23 else:
24 raise ValueError('Unknown mode')
<BLANKLINE>
...sysexit(stat, mode)
9
10 def sysexit(stat, mode):
---> 11 raise SystemExit(stat, 'Mode = %s' % mode)
12
13 def bar(mode):
<BLANKLINE>
SystemExit: (2, u'Mode = exit')
Got:
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
c:\python\external\ipython-master\IPython\core\tests\test_iplib.pyc in <module>()
----> 1 get_ipython().magic(u"run simpleerr.py exit 2")
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\interactiveshell.pyc in magic(self, arg_s)
1775 self._magic_locals = sys._getframe(1).f_locals
1776 with self.builtin_trap:
-> 1777 result = fn(magic_args)
1778 # Ensure we're not keeping object references around:
1779 self._magic_locals = {}
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\magic.pyc in magic_run(self, parameter_s, runner, file_finder)
1614 try:
1615 stats = None
-> 1616 with self.readline_no_record:
1617 if opts.has_key('p'):
1618 stats = self.magic_prun('',0,opts,arg_lst,prog_ns)
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\interactiveshell.pyc in __enter__(self)
146 if self._nested_level == 0:
147 self.orig_length = self.current_length()
--> 148 self.readline_tail = self.get_readline_tail()
149 self._nested_level += 1
150
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\interactiveshell.pyc in get_readline_tail(self, n)
173 start = max(end-n, 1)
174 ghi = self.shell.readline.get_history_item
--> 175 return [ghi(x) for x in range(start, end)]
176
177
<BLANKLINE>
c:\python\external\pyreadline-trunk\pyreadline\rlmain.pyc in get_history_item(self, index)
151 def get_history_item(self, index):
152 u'''Return the current contents of history item at index.'''
--> 153 return self.mode._history.get_history_item(index)
154
155 def clear_history(self):
<BLANKLINE>
c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.pyc in get_history_item(self, index)
51 def get_history_item(self, index):
52 u'''Return the current contents of history item at index.'''
---> 53 item = self.history[index]
54 log(u"get_history_item: index:%d item:%r"%(index, item))
55 return item.get_line_text()
<BLANKLINE>
IndexError: list index out of range
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 205, in IPython.core.tests.test_iplib.do
ctest_tb_sysexit
Failed example:
get_ipython().magic(u"tb ")
Expected:
---------------------------------------------------------------------------
SystemExit Traceback (most recent call last)
<BLANKLINE>
... in <module>()
30 mode = 'div'
31
---> 32 bar(mode)
global bar = <function bar at ...>
global mode = u'exit'
<BLANKLINE>
... in bar(mode=u'exit')
20 except:
21 stat = 1
---> 22 sysexit(stat, mode)
global sysexit = <function sysexit at ...>
stat = 2
mode = u'exit'
23 else:
24 raise ValueError('Unknown mode')
<BLANKLINE>
... in sysexit(stat=2, mode=u'exit')
9
10 def sysexit(stat, mode):
---> 11 raise SystemExit(stat, 'Mode = %s' % mode)
global SystemExit = undefined
stat = 2
mode = u'exit'
12
13 def bar(mode):
<BLANKLINE>
SystemExit: (2, u'Mode = exit')
Got:
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
c:\python\external\ipython-master\IPython\core\tests\test_iplib.pyc in <module>()
----> 1 get_ipython().magic(u"run simpleerr.py exit 2")
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\interactiveshell.pyc in magic(self=<IPython.frontend.terminal.interac
tiveshell.TerminalInteractiveShell object>, arg_s=u'run simpleerr.py exit 2')
1775 self._magic_locals = sys._getframe(1).f_locals
1776 with self.builtin_trap:
-> 1777 result = fn(magic_args)
1778 # Ensure we're not keeping object references around:
1779 self._magic_locals = {}
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\magic.pyc in magic_run(self=<IPython.frontend.terminal.interactiveshe
ll.TerminalInteractiveShell object>, parameter_s=u'simpleerr.py exit 2', runner=None, file_finder=<function get_py_filen
ame>)
1614 try:
1615 stats = None
-> 1616 with self.readline_no_record:
global In = undefined
global pwd = undefined
1617 if opts.has_key('p'):
1618 stats = self.magic_prun('',0,opts,arg_lst,prog_ns)
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\interactiveshell.pyc in __enter__(self=<IPython.core.interactiveshell
.ReadlineNoRecord object>)
146 if self._nested_level == 0:
147 self.orig_length = self.current_length()
--> 148 self.readline_tail = self.get_readline_tail()
global behavior = undefined
global to = undefined
global call = undefined
global at = undefined
global runtime = undefined
global your = undefined
global own = undefined
global routines.Ns = undefined
149 self._nested_level += 1
150
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\interactiveshell.pyc in get_readline_tail(self=<IPython.core.interact
iveshell.ReadlineNoRecord object>, n=10)
173 start = max(end-n, 1)
174 ghi = self.shell.readline.get_history_item
--> 175 return [ghi(x) for x in range(start, end)]
global must = undefined
global therefore = undefined
global make = undefined
global a = undefined
global copy = undefined
global of = undefined
global the = undefined
global given = undefined
global namespace = undefined
global to = undefined
global allow = undefined
176
177
<BLANKLINE>
c:\python\external\pyreadline-trunk\pyreadline\rlmain.pyc in get_history_item(self=<pyreadline.rlmain.Readline objec
t>, index=87)
151 def get_history_item(self, index):
152 u'''Return the current contents of history item at index.'''
--> 153 return self.mode._history.get_history_item(index)
global i = undefined
154
155 def clear_history(self):
<BLANKLINE>
c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.pyc in get_history_item(self=<pyreadline.lineedito
r.history.LineHistory object>, index=87)
51 def get_history_item(self, index):
52 u'''Return the current contents of history item at index.'''
---> 53 item = self.history[index]
54 log(u"get_history_item: index:%d item:%r"%(index, item))
55 return item.get_line_text()
<BLANKLINE>
IndexError: list index out of range
 
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x0415D3F0>.getvalue()))
 
 
======================================================================
FAIL: Doctest: IPython.core.tests.test_iplib.doctest_tb_verbose
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.core.tests.test_iplib.doctest_tb_verbose
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 114, in doctest_tb_verbose
 
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 119, in IPython.core.tests.test_iplib.do
ctest_tb_verbose
Failed example:
get_ipython().magic(u"run simpleerr.py")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_iplib.doctest_tb_verbose[1]>", line 1, in <module>
get_ipython().magic(u"run simpleerr.py")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
 
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x0415D7B0>.getvalue()))
 
 
======================================================================
FAIL: Test various directory handling operations.
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\core\tests\test_magic.py", line 310, in test_dirops
nt.assert_equal(curpath(), ipdir)
AssertionError: u'/users/jstenar/appdata/local/temp' != u'C:\\Users\\jstenar\\.ipython'
>> raise self.failureException, \
(None or '%r != %r' % (u'/users/jstenar/appdata/local/temp', u'C:\\Users\\jstenar\\.ipython'))
 
-------------------- >> begin captured stdout << ---------------------
[Error 123] Felaktig syntax f÷r filnamn, katalognamn eller volymetikett: u'"C:/Users/jstenar/.ipython"'
c:\users\jstenar\appdata\local\temp
 
--------------------- >> end captured stdout << ----------------------
 
======================================================================
FAIL: Doctest: IPython.core.tests.test_run.doctest_refbug
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.core.tests.test_run.doctest_refbug
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 28, in doctest_refbug
 
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 35, in IPython.core.tests.test_run.doctest
_refbug
Failed example:
get_ipython().magic(u"run refbug")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_run.doctest_refbug[1]>", line 1, in <module>
get_ipython().magic(u"run refbug")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 37, in IPython.core.tests.test_run.doctest
_refbug
Failed example:
call_f()
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_run.doctest_refbug[2]>", line 1, in <module>
call_f()
NameError: name 'call_f' is not defined
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 40, in IPython.core.tests.test_run.doctest
_refbug
Failed example:
get_ipython().magic(u"run refbug")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_run.doctest_refbug[3]>", line 1, in <module>
get_ipython().magic(u"run refbug")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 42, in IPython.core.tests.test_run.doctest
_refbug
Failed example:
call_f()
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_run.doctest_refbug[4]>", line 1, in <module>
call_f()
NameError: name 'call_f' is not defined
 
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x041711E8>.getvalue()))
 
 
======================================================================
FAIL: Doctest: IPython.core.tests.test_run.doctest_run_builtins
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.core.tests.test_run.doctest_run_builtins
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 48, in doctest_run_builtins
 
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 65, in IPython.core.tests.test_run.doctest
_run_builtins
Failed example:
get_ipython().magic(u"run $fname")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_run.doctest_run_builtins[7]>", line 1, in <module>
get_ipython().magic(u"run $fname")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
 
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x04171300>.getvalue()))
 
 
----------------------------------------------------------------------
Ran 333 tests in 0.384s
 
FAILED (KNOWNFAIL=2, SKIP=2, errors=5, failures=8)
**********************************************************************
IPython test group: IPython.extensions
..
----------------------------------------------------------------------
Ran 2 tests in 0.001s
 
OK
**********************************************************************
IPython test group: IPython.frontend
E.......E.
======================================================================
ERROR: Failure: ImportError (IPython.zmq requires pyzmq >= 2.0.10-1)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "c:\python26\lib\site-packages\nose\importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "c:\python26\lib\site-packages\nose\importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "c:\python\external\ipython-master\IPython\frontend\qt\console\ipythonqt.py", line 18, in <module>
from IPython.frontend.qt.kernelmanager import QtKernelManager
File "c:\python\external\ipython-master\IPython\frontend\qt\kernelmanager.py", line 9, in <module>
from IPython.zmq.kernelmanager import KernelManager, SubSocketChannel, \
File "c:\python\external\ipython-master\IPython\zmq\__init__.py", line 17, in <module>
raise ImportError("IPython.zmq requires pyzmq >= %s"%minimum_pyzmq_version)
ImportError: IPython.zmq requires pyzmq >= 2.0.10-1
 
======================================================================
ERROR: Failure: ImportError (IPython.zmq requires pyzmq >= 2.0.10-1)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "c:\python26\lib\site-packages\nose\importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "c:\python26\lib\site-packages\nose\importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "c:\python\external\ipython-master\IPython\frontend\qt\kernelmanager.py", line 9, in <module>
from IPython.zmq.kernelmanager import KernelManager, SubSocketChannel, \
File "c:\python\external\ipython-master\IPython\zmq\__init__.py", line 17, in <module>
raise ImportError("IPython.zmq requires pyzmq >= %s"%minimum_pyzmq_version)
ImportError: IPython.zmq requires pyzmq >= 2.0.10-1
 
----------------------------------------------------------------------
Ran 10 tests in 0.027s
 
FAILED (errors=2)
**********************************************************************
IPython test group: IPython.lib
....E..
======================================================================
ERROR: Failure: ImportError (No module named pexpect)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "c:\python26\lib\site-packages\nose\importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "c:\python26\lib\site-packages\nose\importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "c:\python\external\ipython-master\IPython\lib\tests\test_irunner.py", line 15, in <module>
from IPython.lib import irunner
File "c:\python\external\ipython-master\IPython\lib\irunner.py", line 39, in <module>
import pexpect
ImportError: No module named pexpect
 
----------------------------------------------------------------------
Ran 8 tests in 0.075s
 
FAILED (errors=1)
**********************************************************************
IPython test group: IPython.scripts
 
----------------------------------------------------------------------
Ran 0 tests in 0.000s
 
OK
**********************************************************************
IPython test group: IPython.testing
............FFF......S...S.....................S.
======================================================================
FAIL: Doctest: IPython.testing.plugin.test_refs.doctest_refs
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.testing.plugin.test_refs.doctest_refs
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 43, in doctest_refs
 
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 46, in IPython.testing.plugin.test_re
fs.doctest_refs
Failed example:
get_ipython().magic(u"run show_refs.py")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.testing.plugin.test_refs.doctest_refs[0]>", line 1, in <module>
get_ipython().magic(u"run show_refs.py")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
 
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x0365B738>.getvalue()))
 
 
======================================================================
FAIL: Doctest: IPython.testing.plugin.test_refs.doctest_run
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.testing.plugin.test_refs.doctest_run
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 17, in doctest_run
 
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 20, in IPython.testing.plugin.test_re
fs.doctest_run
Failed example:
get_ipython().magic(u"run simplevars.py")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.testing.plugin.test_refs.doctest_run[0]>", line 1, in <module>
get_ipython().magic(u"run simplevars.py")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
 
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x03CD29B8>.getvalue()))
 
 
======================================================================
FAIL: Doctest: IPython.testing.plugin.test_refs.doctest_runvars
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.testing.plugin.test_refs.doctest_runvars
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 24, in doctest_runvars
 
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 27, in IPython.testing.plugin.test_re
fs.doctest_runvars
Failed example:
get_ipython().magic(u"run simplevars.py")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.testing.plugin.test_refs.doctest_runvars[0]>", line 1, in <module>
get_ipython().magic(u"run simplevars.py")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 30, in IPython.testing.plugin.test_re
fs.doctest_runvars
Failed example:
x
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.testing.plugin.test_refs.doctest_runvars[1]>", line 1, in <module>
x
NameError: name 'x' is not defined
 
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x03CD2E90>.getvalue()))
 
 
----------------------------------------------------------------------
Ran 53 tests in 0.046s
 
FAILED (SKIP=3, failures=3)
**********************************************************************
IPython test group: IPython.utils
................................................SF................S...S.................................................
........................
======================================================================
FAIL: Testcase $HOME is not set, os=='posix'.
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\utils\tests\test_path.py", line 152, in test_get_home_dir_4
nt.assert_raises(path.HomeDirError, path.get_home_dir)
AssertionError: HomeDirError not raised
if hasattr(excClass,'__name__'): 'HomeDirError' = excClass.'unittest'
else: 'HomeDirError' = str(excClass)
>> raise self.failureException, "%s not raised" % 'HomeDirError'
 
 
----------------------------------------------------------------------
Ran 145 tests in 0.282s
 
FAILED (SKIP=3, failures=1)
 
**********************************************************************
Test suite completed for system with the following information:
{'commit_hash': '271141b',
'commit_source': 'repository',
'ipython_path': 'c:\\python\\external\\ipython-master\\IPython',
'ipython_version': '0.11.dev',
'os_name': 'nt',
'platform': 'Windows-7-6.1.7601-SP1',
'sys_executable': 'c:\\python26\\python.exe',
'sys_platform': 'win32',
'sys_version': '2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]'}
 
Tools and libraries available at test time:
matplotlib
 
Tools and libraries NOT available at test time:
curses pexpect pymongo wx wx.aui zmq
 
Ran 8 test groups in 4.934s
 
Status:
ERROR - 5 out of 8 test groups failed.
----------------------------------------
Runner failed: IPython.core
You may wish to rerun this one individually, with:
c:\python26\python.exe -u c:\python\external\ipython-master\IPython\testing\iptest.py IPython.core
 
----------------------------------------
Runner failed: IPython.frontend
You may wish to rerun this one individually, with:
c:\python26\python.exe -u c:\python\external\ipython-master\IPython\testing\iptest.py IPython.frontend
 
----------------------------------------
Runner failed: IPython.lib
You may wish to rerun this one individually, with:
c:\python26\python.exe -u c:\python\external\ipython-master\IPython\testing\iptest.py IPython.lib
 
----------------------------------------
Runner failed: IPython.testing
You may wish to rerun this one individually, with:
c:\python26\python.exe -u c:\python\external\ipython-master\IPython\testing\iptest.py IPython.testing
 
----------------------------------------
Runner failed: IPython.utils
You may wish to rerun this one individually, with:
c:\python26\python.exe -u c:\python\external\ipython-master\IPython\testing\iptest.py IPython.utils

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.