Show More
@@ -733,8 +733,10 b' class MaybeAsyncCompile(Compile):' | |||||
733 | super().__init__() |
|
733 | super().__init__() | |
734 | self.flags |= extra_flags |
|
734 | self.flags |= extra_flags | |
735 |
|
735 | |||
736 | def __call__(self, *args, **kwds): |
|
736 | ||
737 | return compile(*args, **kwds) |
|
737 | if sys.version_info < (3,8): | |
|
738 | def __call__(self, *args, **kwds): | |||
|
739 | return compile(*args, **kwds) | |||
738 |
|
740 | |||
739 |
|
741 | |||
740 | class MaybeAsyncCommandCompiler(CommandCompiler): |
|
742 | class MaybeAsyncCommandCompiler(CommandCompiler): |
@@ -391,6 +391,7 b' def _decorator_skip_setup():' | |||||
391 | child = pexpect.spawn( |
|
391 | child = pexpect.spawn( | |
392 | sys.executable, ["-m", "IPython", "--colors=nocolor"], env=env |
|
392 | sys.executable, ["-m", "IPython", "--colors=nocolor"], env=env | |
393 | ) |
|
393 | ) | |
|
394 | child.str_last_chars = 1000 | |||
394 | child.timeout = 5 * IPYTHON_TESTING_TIMEOUT_SCALE |
|
395 | child.timeout = 5 * IPYTHON_TESTING_TIMEOUT_SCALE | |
395 |
|
396 | |||
396 | child.expect("IPython") |
|
397 | child.expect("IPython") |
General Comments 0
You need to be logged in to leave comments.
Login now