Show More
@@ -577,8 +577,12 b' class InteractiveShellTestCase(unittest.TestCase):' | |||||
577 | self.assertEqual(res.success, True) |
|
577 | self.assertEqual(res.success, True) | |
578 |
|
578 | |||
579 |
|
579 | |||
|
580 | @pytest.mark.skipif( | |||
|
581 | sys.implementation.name == "pypy" | |||
|
582 | and ((7, 3, 13) < sys.implementation.version < (7, 3, 16)), | |||
|
583 | reason="Unicode issues with scandir on PyPy, see https://github.com/pypy/pypy/issues/4860", | |||
|
584 | ) | |||
580 | class TestSafeExecfileNonAsciiPath(unittest.TestCase): |
|
585 | class TestSafeExecfileNonAsciiPath(unittest.TestCase): | |
581 |
|
||||
582 | @onlyif_unicode_paths |
|
586 | @onlyif_unicode_paths | |
583 | def setUp(self): |
|
587 | def setUp(self): | |
584 | self.BASETESTDIR = tempfile.mkdtemp() |
|
588 | self.BASETESTDIR = tempfile.mkdtemp() |
@@ -24,9 +24,10 b' import shutil' | |||||
24 | import sys |
|
24 | import sys | |
25 | import tempfile |
|
25 | import tempfile | |
26 | from pathlib import Path |
|
26 | from pathlib import Path | |
|
27 | from tempfile import TemporaryDirectory | |||
27 | from unittest import TestCase |
|
28 | from unittest import TestCase | |
28 |
|
29 | |||
29 | from tempfile import TemporaryDirectory |
|
30 | import pytest | |
30 |
|
31 | |||
31 | from IPython.core.profileapp import list_bundled_profiles, list_profiles_in |
|
32 | from IPython.core.profileapp import list_bundled_profiles, list_profiles_in | |
32 | from IPython.core.profiledir import ProfileDir |
|
33 | from IPython.core.profiledir import ProfileDir | |
@@ -101,6 +102,11 b' class ProfileStartupTest(TestCase):' | |||||
101 | self.validate('Exception reporting mode: Plain') |
|
102 | self.validate('Exception reporting mode: Plain') | |
102 |
|
103 | |||
103 |
|
104 | |||
|
105 | @pytest.mark.skipif( | |||
|
106 | sys.implementation.name == "pypy" | |||
|
107 | and ((7, 3, 13) < sys.implementation.version < (7, 3, 16)), | |||
|
108 | reason="Unicode issues with scandir on PyPy, see https://github.com/pypy/pypy/issues/4860", | |||
|
109 | ) | |||
104 | def test_list_profiles_in(): |
|
110 | def test_list_profiles_in(): | |
105 | # No need to remove these directories and files, as they will get nuked in |
|
111 | # No need to remove these directories and files, as they will get nuked in | |
106 | # the module-level teardown. |
|
112 | # the module-level teardown. |
@@ -20,6 +20,7 b' def test_tee_simple():' | |||||
20 | tee = Tee(chan, channel='stdout') |
|
20 | tee = Tee(chan, channel='stdout') | |
21 | print(text, file=chan) |
|
21 | print(text, file=chan) | |
22 | assert chan.getvalue() == text + "\n" |
|
22 | assert chan.getvalue() == text + "\n" | |
|
23 | tee.close() | |||
23 |
|
24 | |||
24 |
|
25 | |||
25 | class TeeTestCase(unittest.TestCase): |
|
26 | class TeeTestCase(unittest.TestCase): |
General Comments 0
You need to be logged in to leave comments.
Login now