dateutil / dateutil

@@ -4912,3 +4912,8 @@
Loading
4912 4912
4913 4913
        for repstr, wday in zip(with_n_reprs, with_n_wdays):
4914 4914
            self.assertEqual(repr(wday), repstr)
4915 +
4916 +
    def testUnsupportedRuleErrorWhenNoMatchFound(self):
4917 +
        rule = "FREQ=YEARLY;WKST=MO;UNTIL=2019-03-29T00:59:59+01:00"
4918 +
        with self.assertRaises(ValueError, msg="unsupported rule: " + rule):
4919 +
            rrulestr(rule, dtstart=datetime(1997, 9, 2, 9, 0))

@@ -1697,7 +1697,7 @@
Loading
1697 1697
                                         value)
1698 1698
                    dtstart = dtvals[0]
1699 1699
                else:
1700 -
                    raise ValueError("unsupported property: "+name)
1700 +
                    raise ValueError("unsupported rule: "+s)
1701 1701
            if (forceset or len(rrulevals) > 1 or rdatevals
1702 1702
                    or exrulevals or exdatevals):
1703 1703
                if not parser and (rdatevals or exdatevals):
Files Coverage
dateutil 95.97%
Project Totals (32 files) 95.97%
macos-latest:pypy3
Build #183343966 -
windows-latest:pypy2
Build #183343966 -
windows-latest:pypy2
Build #183345933 -
windows-latest:pypy3
Build #183345933 -
macos-latest:pypy2
Build #183345933 -
macos-latest:pypy3
Build #183345933 -
byden7xyxl3532at
TOXENV=py27
2228.1
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
TOXENV=py
2228.2
TRAVIS_PYTHON_VERSION=3.4
TRAVIS_OS_NAME=linux
TOXENV=py
2228.4
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
TOXENV=py
ubuntu-latest:pypy3
Build #183343966 -
ubuntu-latest:pypy2
Build #183343966 -
ubuntu-latest:pypy3
Build #183345933 -
ubuntu-latest:pypy2
Build #183345933 -
windows-latest:pypy3
Build #183343966 -
macos-latest:pypy2
Build #183343966 -
1
coverage:
2
  status:
3
    patch: false
4
    changes: false
5
    project:
6
      default:
7
        target: '80'
8

9
comment: false
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading