本文整理匯總了Python中setuptools.command.test.test.initialize_options方法的典型用法代碼示例。如果您正苦於以下問題:Python test.initialize_options方法的具體用法?Python test.initialize_options怎麽用?Python test.initialize_options使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類setuptools.command.test.test
的用法示例。
在下文中一共展示了test.initialize_options方法的13個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: initialize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
test_command.initialize_options(self)
self.pytest_args = []
示例2: initialize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = list()
示例3: initialize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = ""
示例4: initialize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
"""Initialize options."""
示例5: initialize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
示例6: initialize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
install_command.initialize_options(self)
self.use_cython = 0
self.use_source = 0
示例7: initialize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
TestCommand.initialize_options(self)
self.tox_args = ['-v', '-r']
示例8: initialize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
TestCommand.initialize_options(self)
try:
from multiprocessing import cpu_count
self.pytest_args = ["-n", str(cpu_count()), "--boxed"]
except (ImportError, NotImplementedError):
self.pytest_args = ["-n", "1", "--boxed"]
示例9: initialize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = ['--cov=irl_benchmark', '--cov-report=html', '--cov-report=term', '--cov-report=xml']
示例10: initialize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
self.coverage = False
self.html = False
示例11: initialize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = ''
示例12: initialize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
pass
示例13: initialize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = "tests"