summaryrefslogtreecommitdiff
path: root/noxfile.py
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook.git@proton.me>2022-08-23 15:48:16 -0500
committerJordan Cook <jordan.cook.git@proton.me>2022-08-24 17:03:03 -0500
commit6695941231b397bc0b6db9aa496a893aabbec8f6 (patch)
tree3dc21a41a756865db835df3145cc765d3bb84bfb /noxfile.py
parent57c1b60937d728bddfb5f769e67338da3719ca8b (diff)
downloadrequests-cache-6695941231b397bc0b6db9aa496a893aabbec8f6.tar.gz
Remove upper version constraint for all non-dev dependencies
Diffstat (limited to 'noxfile.py')
-rw-r--r--noxfile.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/noxfile.py b/noxfile.py
index e852294..b25854c 100644
--- a/noxfile.py
+++ b/noxfile.py
@@ -44,7 +44,9 @@ def test(session):
@session(python=False, name='test-current')
def test_current(session):
"""Run tests using the current virtualenv"""
- test(session)
+ test_paths = session.posargs or [UNIT_TESTS, INTEGRATION_TESTS]
+ cmd = f'pytest -rs {XDIST_ARGS}'
+ session.run(*cmd.split(' '), *test_paths)
@session(python=False)