Home
last modified time | relevance | path

Searched refs:str_repr (Results 1 – 25 of 46) sorted by relevance

12

/dports/graphics/py-altair/altair-4.1.0/altair/utils/
H A Ddisplay.py139 def default_renderer_base(spec, mime_type, str_repr, **options): argument
150 bundle["text/plain"] = str_repr
156 def json_renderer_base(spec, str_repr, **options): argument
162 spec, mime_type="application/json", str_repr=str_repr, **options
/dports/net-mgmt/py-pynetbox/pynetbox-6.6.1/tests/integration/
H A Dtest_dcim.py38 str_repr=None, argument
44 request.cls.str_repr = str_repr
50 if self.str_repr:
52 assert test == self.str_repr
153 str_repr=device_type.model,
225 str_repr="PSU1 <> outlet",
265 str_repr="Console <> Port 1",
309 str_repr="Ethernet1 <> Ethernet1",
H A Dtest_ipam.py16 str_repr=None, argument
22 request.cls.str_repr = str_repr
28 if self.str_repr:
30 assert test == self.str_repr
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/docs/doxygen/scripts/
H A Ddoxymlparser.py43 str_repr = """
53 str_repr += "Methods:\n"
56 str_repr += str(method)
58 return str_repr
71 str_repr = """
82 return str_repr
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/docs/doxygen/scripts/
H A Ddoxymlparser.py43 str_repr = """
53 str_repr += "Methods:\n"
56 str_repr += str(method)
58 return str_repr
71 str_repr = """
82 return str_repr
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/docs/doxygen/scripts/
H A Ddoxymlparser.py43 str_repr = """
53 str_repr += "Methods:\n"
56 str_repr += str(method)
58 return str_repr
71 str_repr = """
82 return str_repr
/dports/security/py-stem/stem-1.8.0/stem/
H A D__init__.py755 for str_repr in all_str_repr:
756 if str_repr and isinstance(str_repr, str):
757 reason = str_repr
/dports/www/ilias6/ILIAS-6.14/tests/Refinery/Custom/Constraint/
H A DCustomTest.php20 protected $str_repr; variable in MyToStringClass
24 return $this->str_repr;
/dports/www/ilias/ILIAS-5.4.25/tests/Validation/Constraints/
H A DCustomTest.php19 protected $str_repr; variable in MyToStringClass
23 return $this->str_repr;
/dports/textproc/py-pybtex/pybtex-0.24.0/pybtex/
H A Drichtext.py73 def str_repr(string): function
719 return str_repr(self.value)
860 return 'Tag({}, {})'.format(str_repr(self.name), reprparts)
862 return 'Tag({})'.format(str_repr(self.name))
898 return 'HRef({}, {})'.format(str_repr(self.url), reprparts)
977 return "Symbol(%s)" % str_repr(self.name)
/dports/science/py-hiphive/hiphive-0.7.1/hiphive/
H A Dcluster_space.py384 str_repr = formats[name].format(value)
385 n = max(len(name), len(str_repr))
389 s += ['{s:^{n}}'.format(s=str_repr, n=n)]
/dports/databases/grass7/grass-7.8.6/lib/python/pygrass/modules/interface/
H A Dparameter.py237 str_repr = "Parameter <%s> (required:%s, type:%s, multiple:%s)"
239 return str_repr % (self.name,
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/scalar/timedelta/
H A Dtest_timedelta.py257 str_repr = [f"{x}{unit}" for x in np.arange(5)]
258 result = to_timedelta(wrapper(str_repr))
260 result = to_timedelta(wrapper(str_repr))
/dports/devel/py-multi_key_dict/multi_key_dict-2.0.3/
H A Dmulti_key_dict.py305 str_repr = lambda x: '\'%s\'' % x if type(x) == str else str(x) function
308 keys_str = [str_repr(k) for k in keys]
310 str_repr(value)))
/dports/devel/py-mypy/mypy-0.910/mypy/
H A Dstrconv.py322 return 'StrExpr({})'.format(self.str_repr(o.value))
325 return 'BytesExpr({})'.format(self.str_repr(o.value))
328 return 'UnicodeExpr({})'.format(self.str_repr(o.value))
330 def str_repr(self, s: str) -> str: member in StrConv
/dports/devel/py-pytest/pytest-4.6.11/src/_pytest/_code/
H A Dcode.py680 str_repr = saferepr(value)
682 str_repr = safeformat(value)
685 lines.append("%-10s = %s" % (name, str_repr))
/dports/devel/py-arpeggio/Arpeggio-1.10.2/arpeggio/
H A D__init__.py812 multiline=None, str_repr=None, re_flags=re.MULTILINE, argument
820 self.to_match = str_repr if str_repr is not None else to_match
1849 str_repr=to_match)
/dports/devel/py-guppy3/guppy3-3.1.2/guppy/heapy/
H A DUniSet.py1972 bool: self.str_repr,
1975 complex: self.str_repr,
1977 float: self.str_repr,
1980 int: self.str_repr,
1982 type(None): self.str_repr,
2063 str_repr = repr variable in Summary_str
/dports/math/py-pymc3/pymc-3.11.4/pymc3/tests/
H A Dtest_distributions.py2526 for distribution, str_repr in zip(self.distributions, self.expected["plain"]):
2527 assert distribution.__str__() == str_repr
2530 for str_repr in self.expected["plain"]:
2531 assert str_repr in model_str
2534 for distribution, str_repr in zip(self.distributions, self.expected["plain"]):
2535 assert str(distribution) == str_repr
2538 for str_repr in self.expected["plain"]:
2539 assert str_repr in model_str
/dports/www/firefox-esr/firefox-91.8.0/testing/web-platform/tests/tools/third_party/pytest/src/_pytest/_code/
H A Dcode.py749 str_repr = saferepr(value)
751 str_repr = safeformat(value)
753 lines.append("{:<10} = {}".format(name, str_repr))
/dports/www/firefox/firefox-99.0/testing/web-platform/tests/tools/third_party/pytest/src/_pytest/_code/
H A Dcode.py749 str_repr = saferepr(value)
751 str_repr = safeformat(value)
753 lines.append("{:<10} = {}".format(name, str_repr))
/dports/mail/thunderbird/thunderbird-91.8.0/testing/web-platform/tests/tools/third_party/pytest/src/_pytest/_code/
H A Dcode.py749 str_repr = saferepr(value)
751 str_repr = safeformat(value)
753 lines.append("{:<10} = {}".format(name, str_repr))
/dports/www/firefox-esr/firefox-91.8.0/testing/web-platform/tests/tools/third_party/py/py/_code/
H A Dcode.py526 str_repr = self._saferepr(value)
529 lines.append("%-10s = %s" %(name, str_repr))
/dports/lang/spidermonkey60/firefox-60.9.0/testing/web-platform/tests/tools/third_party/py/py/_code/
H A Dcode.py526 str_repr = self._saferepr(value)
529 lines.append("%-10s = %s" %(name, str_repr))
/dports/www/firefox-legacy/firefox-52.8.0esr/testing/web-platform/tests/tools/pytest/_pytest/_code/
H A Dcode.py524 str_repr = self._saferepr(value)
527 lines.append("%-10s = %s" %(name, str_repr))

12