fname
stringlengths
63
176
rel_fname
stringclasses
706 values
line
int64
-1
4.5k
name
stringlengths
1
81
kind
stringclasses
2 values
category
stringclasses
2 values
info
stringlengths
0
77.9k
⌀
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
49
call_optional
ref
function
call_optional(A(), "f")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
49
A
ref
function
call_optional(A(), "f")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
52
test_nose_setup_func
def
function
def test_nose_setup_func(pytester: Pytester) -> None: p = pytester.makepyfile( """ from nose.tools import with_setup values = [] def my_setup(): a = 1 values.append(a) def my_teardown(): b = 2 values.append(b) @with_...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
53
makepyfile
ref
function
p = pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
78
runpytest
ref
function
result = pytester.runpytest(p, "-p", "nose")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
79
assert_outcomes
ref
function
result.assert_outcomes(passed=2)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
82
test_nose_setup_func_failure
def
function
def test_nose_setup_func_failure(pytester: Pytester) -> None: p = pytester.makepyfile( """ from nose.tools import with_setup values = [] my_setup = lambda x: 1 my_teardown = lambda x: 2 @with_setup(my_setup, my_teardown) def test_hello(): print(v...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
83
makepyfile
ref
function
p = pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
102
runpytest
ref
function
result = pytester.runpytest(p, "-p", "nose")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
103
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*TypeError: <lambda>()*"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
106
test_nose_setup_func_failure_2
def
function
def test_nose_setup_func_failure_2(pytester: Pytester) -> None: pytester.makepyfile( """ values = [] my_setup = 1 my_teardown = 2 def test_hello(): assert values == [] test_hello.setup = my_setup test_hello.teardown = my_teardown """ ) ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
107
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
121
inline_run
ref
function
reprec = pytester.inline_run()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
122
assertoutcome
ref
function
reprec.assertoutcome(passed=1)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
125
test_nose_setup_partial
def
function
def test_nose_setup_partial(pytester: Pytester) -> None: pytest.importorskip("functools") p = pytester.makepyfile( """ from functools import partial values = [] def my_setup(x): a = x values.append(a) def my_teardown(x): b = x ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
126
importorskip
ref
function
pytest.importorskip("functools")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
127
makepyfile
ref
function
p = pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
156
runpytest
ref
function
result = pytester.runpytest(p, "-p", "nose")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
157
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*2 passed*"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
160
test_module_level_setup
def
function
def test_module_level_setup(pytester: Pytester) -> None: pytester.makepyfile( """ from nose.tools import with_setup items = {} def setup(): items[1]=1 def teardown(): del items[1] def setup2(): items[2] = 2 def teardown2...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
161
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
187
runpytest
ref
function
result = pytester.runpytest("-p", "nose")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
188
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*2 passed*"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
191
test_nose_style_setup_teardown
def
function
def test_nose_style_setup_teardown(pytester: Pytester) -> None: pytester.makepyfile( """ values = [] def setup_module(): values.append(1) def teardown_module(): del values[0] def test_hello(): assert values == [1] def test_world...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
192
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
209
runpytest
ref
function
result = pytester.runpytest("-p", "nose")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
210
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*2 passed*"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
213
test_fixtures_nose_setup_issue8394
def
function
def test_fixtures_nose_setup_issue8394(pytester: Pytester) -> None: pytester.makepyfile( """ def setup_module(): pass def teardown_module(): pass def setup_function(func): pass def teardown_function(func): pass def t...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
214
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
248
runpytest
ref
function
result = pytester.runpytest("--fixtures")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
250
no_fnmatch_line
ref
function
result.stdout.no_fnmatch_line(match)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
252
runpytest
ref
function
result = pytester.runpytest("--fixtures", "-v")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
254
fnmatch_lines
ref
function
result.stdout.fnmatch_lines([match, match, match, match])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
257
test_nose_setup_ordering
def
function
def test_nose_setup_ordering(pytester: Pytester) -> None: pytester.makepyfile( """ def setup_module(mod): mod.visited = _True class TestClass(object): def setup(self): assert visited def test_first(self): pass """ ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
258
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
270
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
271
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed*"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
274
test_apiwrapper_problem_issue260
def
function
def test_apiwrapper_problem_issue260(pytester: Pytester) -> None: # this would end up trying a call an optional teardown on the class # for plain unittests we don't want nose behaviour pytester.makepyfile( """ import unittest class TestCase(unittest.TestCase): def setup(s...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
277
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
295
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
296
assert_outcomes
ref
function
result.assert_outcomes(passed=1)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
299
test_setup_teardown_linking_issue265
def
function
def test_setup_teardown_linking_issue265(pytester: Pytester) -> None: # we accidentally didn't integrate nose setupstate with normal setupstate # this test ensures that won't happen again pytester.makepyfile( ''' import pytest class TestGeneric(object): def test_nothing(...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
302
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
323
runpytest
ref
function
reprec = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
324
assert_outcomes
ref
function
reprec.assert_outcomes(passed=1, skipped=1)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
327
test_SkipTest_during_collection
def
function
def test_SkipTest_during_collection(pytester: Pytester) -> None: p = pytester.makepyfile( """ import nose raise nose.SkipTest("during collection") def test_failing(): assert _False """ ) result = pytester.runpytest(p) result.assert_outcomes(skipped=1) ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
328
makepyfile
ref
function
p = pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
336
runpytest
ref
function
result = pytester.runpytest(p)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
337
assert_outcomes
ref
function
result.assert_outcomes(skipped=1)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
340
test_SkipTest_in_test
def
function
def test_SkipTest_in_test(pytester: Pytester) -> None: pytester.makepyfile( """ import nose def test_skipping(): raise nose.SkipTest("in test") """ ) reprec = pytester.inline_run() reprec.assertoutcome(skipped=1)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
341
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
349
inline_run
ref
function
reprec = pytester.inline_run()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
350
assertoutcome
ref
function
reprec.assertoutcome(skipped=1)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
353
test_istest_function_decorator
def
function
def test_istest_function_decorator(pytester: Pytester) -> None: p = pytester.makepyfile( """ import nose.tools @nose.tools.istest def not_test_prefix(): pass """ ) result = pytester.runpytest(p) result.assert_outcomes(passed=1)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
354
makepyfile
ref
function
p = pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
362
runpytest
ref
function
result = pytester.runpytest(p)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
363
assert_outcomes
ref
function
result.assert_outcomes(passed=1)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
366
test_nottest_function_decorator
def
function
def test_nottest_function_decorator(pytester: Pytester) -> None: pytester.makepyfile( """ import nose.tools @nose.tools.nottest def test_prefix(): pass """ ) reprec = pytester.inline_run() assert not reprec.getfailedcollections() calls = reprec.get...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
367
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
375
inline_run
ref
function
reprec = pytester.inline_run()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
376
getfailedcollections
ref
function
assert not reprec.getfailedcollections()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
377
getreports
ref
function
calls = reprec.getreports("pytest_runtest_logreport")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
381
test_istest_class_decorator
def
class
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
382
makepyfile
ref
function
p = pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
391
runpytest
ref
function
result = pytester.runpytest(p)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
392
assert_outcomes
ref
function
result.assert_outcomes(passed=1)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
395
test_nottest_class_decorator
def
class
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
396
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
405
inline_run
ref
function
reprec = pytester.inline_run()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
406
getfailedcollections
ref
function
assert not reprec.getfailedcollections()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
407
getreports
ref
function
calls = reprec.getreports("pytest_runtest_logreport")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
411
test_skip_test_with_unicode
def
function
def test_skip_test_with_unicode(pytester: Pytester) -> None: pytester.makepyfile( """\ import unittest class TestClass(): def test_io(self): raise unittest.SkipTest('😊') """ ) result = pytester.runpytest() result.stdout.fnmatch_lines(["* 1 ski...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
412
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
420
runpytest
ref
function
result = pytester.runpytest()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
421
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["* 1 skipped *"])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
424
test_raises
def
function
def test_raises(pytester: Pytester) -> None: pytester.makepyfile( """ from nose.tools import raises @raises(RuntimeError) def test_raises_runtimeerror(): raise RuntimeError @raises(Exception) def test_raises_baseexception_not_caught(): raise ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
425
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
442
runpytest
ref
function
result = pytester.runpytest("-vv")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_nose.py
testing/test_nose.py
443
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
15
parser
def
function
def parser() -> parseopt.Parser: return parseopt.Parser(_ispytest=_True)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
16
Parser
ref
function
return parseopt.Parser(_ispytest=True)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
19
TestParser
def
class
test_no_help_by_default test_custom_prog test_argument test_argument_type test_argument_processopt test_group_add_and_get test_getgroup_simple test_group_ordering test_group_addoption test_group_addoption_conflict test_group_shortopt_lowercase test_parser_addoption test_parse test_parse2 test_parse_known_args test_pars...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
20
test_no_help_by_default
def
function
def test_no_help_by_default(self) -> None: parser = parseopt.Parser(usage="xyz", _ispytest=_True) pytest.raises(UsageError, lambda: parser.parse(["-h"])) def test_custom_prog(self, parser: parseopt.Parser) -> None: """Custom prog can be set for `argparse.ArgumentParser`.""" asse...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
21
Parser
ref
function
parser = parseopt.Parser(usage="xyz", _ispytest=True)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
22
raises
ref
function
pytest.raises(UsageError, lambda: parser.parse(["-h"]))
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
22
parse
ref
function
pytest.raises(UsageError, lambda: parser.parse(["-h"]))
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
24
test_custom_prog
def
function
def test_custom_prog(self, parser: parseopt.Parser) -> None: """Custom prog can be set for `argparse.ArgumentParser`.""" assert parser._getparser().prog == os.path.basename(sys.argv[0]) parser.prog = "custom-prog" assert parser._getparser().prog == "custom-prog" def test_argumen...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
26
_getparser
ref
function
assert parser._getparser().prog == os.path.basename(sys.argv[0])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
26
basename
ref
function
assert parser._getparser().prog == os.path.basename(sys.argv[0])
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
28
_getparser
ref
function
assert parser._getparser().prog == "custom-prog"
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
30
test_argument
def
function
def test_argument(self) -> None: with pytest.raises(parseopt.ArgumentError): # need a short or long option argument = parseopt.Argument() argument = parseopt.Argument("-t") assert argument._short_opts == ["-t"] assert argument._long_opts == [] assert a...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
31
raises
ref
function
with pytest.raises(parseopt.ArgumentError):
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
33
Argument
ref
function
argument = parseopt.Argument()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
34
Argument
ref
function
argument = parseopt.Argument("-t")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
38
Argument
ref
function
argument = parseopt.Argument("-t", "--test")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
42
Argument
ref
function
argument = parseopt.Argument("-t", "--test", dest="abc")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
48
test_argument_type
def
function
def test_argument_type(self) -> None: argument = parseopt.Argument("-t", dest="abc", type=int) assert argument.type is int argument = parseopt.Argument("-t", dest="abc", type=str) assert argument.type is str argument = parseopt.Argument("-t", dest="abc", type=float) a...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
49
Argument
ref
function
argument = parseopt.Argument("-t", dest="abc", type=int)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
51
Argument
ref
function
argument = parseopt.Argument("-t", dest="abc", type=str)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_parseopt.py
testing/test_parseopt.py
53
Argument
ref
function
argument = parseopt.Argument("-t", dest="abc", type=float)