Opened 7 years ago

Closed 7 years ago

#14070 closed defect (fixed)

Problems with get_test_shell()

Reported by: jdemeyer Owned by: was
Priority: major Milestone: sage-5.8
Component: interfaces Keywords:
Cc: Merged in: sage-5.8.beta0
Authors: Jeroen Demeyer Reviewers: David Roe
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #14024 Stopgaps:

Description

$ ./sage -c 'from sage.misc.interpreter import get_test_shell; shell = get_test_shell()'
[SageTerminalApp] File not found: u'from sage.misc.interpreter import get_test_shell; shell = get_test_shell()'

This is because get_test_shell() interpretes sys.argv and causes doctest failures with #12415.

Attachments (1)

14070_ipython_test_shell_empty_argv.patch (1.5 KB) - added by jdemeyer 7 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 years ago by jdemeyer

  • Dependencies set to #14024

Changed 7 years ago by jdemeyer

comment:2 Changed 7 years ago by jdemeyer

  • Authors set to Jeroen Demeyer
  • Status changed from new to needs_review

comment:3 Changed 7 years ago by roed

  • Status changed from needs_review to positive_review

Looks good.

comment:4 Changed 7 years ago by roed

  • Reviewers set to David Roe

comment:5 Changed 7 years ago by jdemeyer

  • Milestone changed from sage-5.7 to sage-5.8

comment:6 Changed 7 years ago by jdemeyer

  • Merged in set to sage-5.8.beta0
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.