diff options
author | Thomas Kluyver <takowl@gmail.com> | 2014-06-01 20:25:42 -0700 |
---|---|---|
committer | Thomas Kluyver <takowl@gmail.com> | 2014-06-01 20:40:26 -0700 |
commit | 68264e3a88c223e0f41450f39c356a0fea23ad82 (patch) | |
tree | b74910aa7177c70e9ef296acbe3ce3c266867230 | |
parent | 6250807565a200cb31a3aed1a56b73130b905cff (diff) | |
download | pexpect-68264e3a88c223e0f41450f39c356a0fea23ad82.tar.gz |
Skip performance tests on PyPy
-rwxr-xr-x | tests/test_performance.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_performance.py b/tests/test_performance.py index 597c6f9..163e4f2 100755 --- a/tests/test_performance.py +++ b/tests/test_performance.py @@ -21,6 +21,7 @@ PEXPECT LICENSE from __future__ import print_function import unittest, time, sys +import platform import pexpect from . import PexpectTestCase @@ -81,6 +82,8 @@ class PerformanceTestCase (PexpectTestCase.PexpectTestCase): self.assertEqual(e.expect([b'inquisition', '%d' % n]), 1) def test_100000(self): + if platform.python_implementation() == 'PyPy': + raise unittest.SkipTest("This test fails on PyPy because of REPL differences") print() start_time = time.time() self.plain_range (100000) |