Anthony Scopatz
1123a0af9b
fix for comma test list rules
2017-07-16 14:17:38 -05:00
Anthony Scopatz
ec0c2ef143
don't check error status for window
2017-07-15 18:06:19 -05:00
Anthony Scopatz
19be0c409d
fixed zero line test
2017-07-15 17:53:47 -05:00
Anthony Scopatz
4df37c0d73
fixed EOF in multi-line statement line number error
2017-07-15 17:51:21 -05:00
Jamie Bliss
f05c4d86b8
Merge pull request #2398 from Jitsusama/spelling_fixes
...
Spelling Fixes
2017-06-16 11:12:05 -04:00
Joel Gerber
0b94c3ceec
raise AssertionError on deprecated when removed_in exceeded
...
As there was some worry raised over whether people would remember
to remove a deprecated function once the removed_in version had been
reached, I've decided to add functionality that will force the
issue. When a @deprecated function is tagged with a removed_in
release that is greater than or equal to the current release, the
@deprecated decorator will raise an AssertionError, which will
hopefully break CI/CD and force the function to be removed.
2017-06-10 09:57:49 -04:00
Joel Gerber
5c33aac9f2
Introduce deprecated function/method decorator
...
This method allows for import time modification of a decorated
method/function such that it's docstring will reflect when the
function was deprecated, when it will be removed and that it is in
fact deprecated. It will also use the warnings system to flag
a DeprecationWarning that Python will report on when run with the
`-W` flag, or, when run through certain static/dynamic code
analyzers.
2017-06-09 21:50:38 -04:00
laerus
9edfafaf99
Add flush method to tests/tools::DummyHistory
2017-06-07 21:55:04 +03:00
Joel Gerber
2abb24f4f6
Docstring and comment spelling corrections
...
A number of common spelling typos found within various docstrings and
comments found within source code files have been identified and resolved.
2017-06-07 11:51:17 -04:00
Konstantinos Tsakiltzidis
18873742df
Merge pull request #2359 from xonsh/custom_rc
...
fix `--rc` option for xonsh startup
2017-04-22 02:32:21 +03:00
Jamie Bliss
bf11df618c
Add test
2017-04-21 17:46:04 -04:00
Gil Forsyth
d33003959e
add test for --rc
flags
2017-04-21 14:34:47 -04:00
Morten Enemark Lund
5f60bea8c4
Removed %foo% environment expansion on windows
2017-03-15 22:33:21 +01:00
Gil Forsyth
d6540ce66d
add test that all int and bool envvars have ensurers
...
hopefully this will stop this from cropping up again in the future
2017-03-15 09:09:08 -04:00
Gil Forsyth
08d7f8b0fc
test that _get_hg_root doesn't barf
...
There was no test for what the `hg` call would do if it weren't in a
repo at all.
2017-03-06 16:13:16 -05:00
Anthony Scopatz
bdd0ecbe5c
fix windows tests
2017-03-02 23:25:30 -05:00
Anthony Scopatz
7f8634a215
ambiguous fix
2017-03-02 22:49:52 -05:00
Anthony Scopatz
d331778633
Line continuations will no longer eat surrounding whitespace
2017-03-02 00:34:47 -05:00
Anthony Scopatz
f9d6c8660f
only issue one ws
2017-03-02 00:19:03 -05:00
Anthony Scopatz
c59b534861
lexing of line continuations in subprocs is working
2017-03-01 23:21:23 -05:00
Anthony Scopatz
11253ee4f1
more test fixes
2017-02-27 21:48:34 -05:00
Anthony Scopatz
13d507e4f8
fixed conflicts
2017-02-27 21:14:41 -05:00
Anthony Scopatz
91fd3065ad
Merge pull request #2278 from xonsh/conftest
...
conftest xonsh_builtins teardown
2017-02-27 17:38:37 -05:00
laerus
4a2ff3aa58
conftest xonsh_builtins teardown
2017-02-27 21:44:58 +02:00
Anthony Scopatz
be9ca2a385
yet another fix
2017-02-27 14:11:39 -05:00
Anthony Scopatz
ae620c2e98
newline test fix
2017-02-27 11:40:02 -05:00
Morten Enemark Lund
b5f48cdcee
Merge pull request #2270 from xonsh/jsonutils
...
New JSON utils module
2017-02-27 09:53:27 +01:00
Anthony Scopatz
cefd8d395d
Require whitespace for and/or tokens in subproc mode
2017-02-26 22:42:29 -05:00
Anthony Scopatz
b0dce1af1e
fixes and tests for bad globs
2017-02-26 21:54:39 -05:00
Hugo Wang
8920cc3d4e
Merge pull request #2260 from xonsh/subshell
...
Subshells
2017-02-27 09:22:55 +08:00
Anthony Scopatz
f598ffd9ab
Merge branch 'master' into badglob
2017-02-26 18:16:27 -05:00
Morten Enemark Lund
ffe08aaaab
Merge pull request #2261 from xonsh/nsredir
...
Redirection no longer require a space
2017-02-26 22:49:55 +01:00
Anthony Scopatz
02faca09ba
Merge branch 'master' into subshell
2017-02-26 16:20:00 -05:00
Anthony Scopatz
11da7fe12a
New JSON utils module
2017-02-26 15:42:36 -05:00
Anthony Scopatz
1b2a4a5e52
Redirection no longer require a space
2017-02-25 23:25:42 -05:00
adam j hartz
e2999b8497
some tests
2017-02-25 22:39:10 -05:00
Anthony Scopatz
4dbbcf56e8
CI fixes
2017-02-25 21:45:32 -05:00
Anthony Scopatz
4b304b1763
fixed replay tests
2017-02-25 21:28:28 -05:00
Anthony Scopatz
d1341af9bd
integration tests work
2017-02-25 21:19:56 -05:00
Anthony Scopatz
b389c99399
added greedy subproc_toks
2017-02-25 20:15:02 -05:00
Anthony Scopatz
f7adc8b136
raw toks for the win
2017-02-25 17:58:35 -05:00
Anthony Scopatz
784dcbb959
yuk
2017-02-25 16:45:33 -05:00
Anthony Scopatz
14acf7ac99
fix tests
2017-02-25 12:15:56 -05:00
Anthony Scopatz
a116eff72b
fixed merge conflicts
2017-02-25 12:04:54 -05:00
Anthony Scopatz
230a61193c
Fixed del (x, y)
2017-02-25 00:50:56 -05:00
Anthony Scopatz
f4112cf0b1
some more qtoue fixes
2017-02-24 23:55:12 -05:00
Anthony Scopatz
bf75fe8a14
dotall
2017-02-24 23:18:31 -05:00
Anthony Scopatz
d7196ca7fa
more working
2017-02-24 23:00:06 -05:00
Anthony Scopatz
f056fe01c3
more
2017-02-24 22:39:36 -05:00
Morten Enemark Lund
8acaa3f88d
Merge pull request #2225 from xonsh/ie
...
Import Events and Matplotlib Interactive Fixes
2017-02-21 05:18:56 +01:00