Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Sign In

pybuilder / pybuilder / 1516

21 Apr 2018 - 0:20 coverage increased (+0.02%) to 71.823%
1516

Pull #588

travis-ci

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
Do make PyB 0.11 work with PIP 10.

Add version-matching hack.

fixes #586
Pull Request #588: Do make PyB 0.11 work with PIP 10.

942 of 1419 branches covered (66.38%)

6 of 6 new or added lines in 1 file covered. (100.0%)

28 existing lines in 10 files now uncovered.

3250 of 4525 relevant lines covered (71.82%)

3.57 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/main/python/pybuilder/excp_util_3.py
1
# -*- coding: utf-8 -*-
2
#
3
#   This file is part of PyBuilder
4
#
5
#   Copyright 2011-2015 PyBuilder Team
6
#
7
#   Licensed under the Apache License, Version 2.0 (the "License");
8
#   you may not use this file except in compliance with the License.
9
#   You may obtain a copy of the License at
10
#
11
#       http://www.apache.org/licenses/LICENSE-2.0
12
#
13
#   Unless required by applicable law or agreed to in writing, software
14
#   distributed under the License is distributed on an "AS IS" BASIS,
15
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
#   See the License for the specific language governing permissions and
17
#   limitations under the License.
18

UNCOV
19
"""
all except 1516.2 - 4×
20
    The PyBuilder exception utils module for Python version 3.x
21
"""
22

23

24
# flake8: noqa
25

UNCOV
26
def raise_exception(ex, tb):
all except 1516.2 - 4×
UNCOV
27
    raise ex.with_traceback(tb)
all except 1516.2 - 4×
28

29

UNCOV
30
def is_string(val):
all except 1516.2 - 4×
UNCOV
31
    return isinstance(val, str)
all except 1516.2 - 4×
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
BLOG · TWITTER · Legal & Privacy · Supported CI Services · What's a CI service? · Automated Testing

© 2021 Coveralls, LLC