A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1635/ below:

test_prun_quotes fails on Windows · Issue #1635 · ipython/ipython · GitHub

Introduced by PR #1306, this test is failing on Windows, because '\t' is being converted into ' '.

Fails:

_ip.magic("prun -q x = '\t'")
nt.assert_equal(_ip.user_ns['x'], '\t')

Succeeds (raw-string):

_ip.magic(r"prun -q x = '\t'")
nt.assert_equal(_ip.user_ns['x'], '\t')

I'm not yet sure if this is revealing yet another bug in our magic arg-parsing on Windows.

I discovered this because it is included in 0.12.1, and this is the only failing test on my Windows VM. I don't actually know what should be done here, but I'm fine making the raw_string fix for 0.12.1 at least.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4