We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad4af91 commit ffa7d22Copy full SHA for ffa7d22
tests/test_ro_onrc.doctest
@@ -26,6 +26,8 @@ This file contains more detailed doctests for the stdnum.ro.onrc module.
26
27
Test some corner cases.
28
29
+>>> onrc.validate('J2012000750528')
30
+'J2012000750528'
31
>>> onrc.validate('J/52/750/2012')
32
'J52/750/2012'
33
>>> onrc.validate('J52/750/22.11.2012') # valid, strip date, leave year
@@ -268,6 +270,10 @@ These have been found online and should all be valid numbers.
268
270
... j30/61/2010
269
271
... j39/151/2019
272
... j40/3674/2002
273
+... J1991000904401
274
+... J2025022901007
275
+... J2007007766403
276
+... J2012000750528
277
...
278
... '''
279
>>> [x for x in numbers.splitlines() if x and not onrc.is_valid(x)]
0 commit comments