mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
ae9bd823ed
Disabled two tests that require a preinstalled build of Mathics to work, which is incompatible with the way nix runs them. [Bjørn: remove unrelated disabling on Python 3]
22 lines
688 B
Diff
22 lines
688 B
Diff
These tests require that Mathics already be installed to work,
|
|
which is not true when nix runs them.
|
|
|
|
--- a/test/test_console.py 2015-09-07 21:41:08.530501979 -0700
|
|
+++ b/test/test_console.py 2015-09-07 21:42:44.082176084 -0700
|
|
@@ -13,6 +13,7 @@
|
|
os.environ["TERM"] = "dumb"
|
|
self.console = pexpect.spawn('python2 mathics/main.py --color NOCOLOR')
|
|
|
|
+ @unittest.expectedFailure
|
|
def testLaunch(self):
|
|
cons = self.console
|
|
|
|
@@ -41,6 +42,7 @@
|
|
'Quit by pressing CONTROL-D\r\n'
|
|
'\r\n')
|
|
|
|
+ @unittest.expectedFailure
|
|
def testPrompt(self):
|
|
cons = self.console
|
|
cons.expect('Quit by pressing CONTROL-D\r\n\r\n')
|