aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:13 +0300
commit736dcd8ca259457a136f2f9f9168c44643914323 (patch)
treeddd46a036d68bfa83aa11b892f31243ea6b068a1 /contrib
parent9bf2fa2b060c9881d3135c2208c624a1dd546ecc (diff)
downloadydb-736dcd8ca259457a136f2f9f9168c44643914323.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libs/cctz/README2
-rw-r--r--contrib/libs/cxxsupp/openmp/ya.make4
-rw-r--r--contrib/libs/farmhash/test.cc2
-rw-r--r--contrib/libs/grpc/src/python/grpcio/grpc/__init__.py2
-rw-r--r--contrib/libs/libunwind/ut/libunwind_ut.cpp2
-rw-r--r--contrib/libs/protobuf/src/google/protobuf/message_lite.cc56
-rw-r--r--contrib/libs/protobuf/src/google/protobuf/message_lite.h84
-rw-r--r--contrib/libs/protobuf/src/google/protobuf/port_def.inc8
-rw-r--r--contrib/libs/protobuf/src/google/protobuf/stubs/common.h4
-rw-r--r--contrib/libs/python/ut/lib/test.cpp2
-rw-r--r--contrib/libs/python/ut/lib/ya.make2
-rw-r--r--contrib/libs/python/ut/py2/use.cpp2
-rw-r--r--contrib/libs/python/ut/py3/use.cpp2
-rw-r--r--contrib/python/pytest/py2/_pytest/compat.py2
-rw-r--r--contrib/python/pytest/py2/_pytest/python_api.py2
-rw-r--r--contrib/python/pytest/py3/_pytest/python_api.py2
-rw-r--r--contrib/python/tornado/tornado-4/tornado/testing.py2
-rw-r--r--contrib/restricted/boost/arcadia_test/test_shared_ptr.cpp2
-rw-r--r--contrib/tools/python3/src/Lib/unittest/__init__.py2
19 files changed, 92 insertions, 92 deletions
diff --git a/contrib/libs/cctz/README b/contrib/libs/cctz/README
index 8cdda27da8..b9a4415c5e 100644
--- a/contrib/libs/cctz/README
+++ b/contrib/libs/cctz/README
@@ -5,4 +5,4 @@ This version is based on commit 2e86a776379ec6f2a60f4a6595a3b68cd3961cb4 from ht
The following changes were made compared to the vanilla Google code:
* the Time Zone Database may optionally be compiled into the library (just add a PEERDIR() to contrib/libs/cctz/tzdata subdirectory in your code);
* some minor cleanups to avoid clang warnings;
- * the tests were modified to work with library/cpp/testing/unittest.
+ * the tests were modified to work with library/cpp/testing/unittest.
diff --git a/contrib/libs/cxxsupp/openmp/ya.make b/contrib/libs/cxxsupp/openmp/ya.make
index 2c64468375..8ee6391220 100644
--- a/contrib/libs/cxxsupp/openmp/ya.make
+++ b/contrib/libs/cxxsupp/openmp/ya.make
@@ -22,12 +22,12 @@ NO_PLATFORM()
NO_COMPILER_WARNINGS()
IF (SANITIZER_TYPE == thread)
- NO_SANITIZE()
+ NO_SANITIZE()
CFLAGS(
-fPIC
)
ENDIF()
-
+
IF (SANITIZER_TYPE == memory)
NO_SANITIZE()
CFLAGS(
diff --git a/contrib/libs/farmhash/test.cc b/contrib/libs/farmhash/test.cc
index 08d191ae7c..d0ee04af9a 100644
--- a/contrib/libs/farmhash/test.cc
+++ b/contrib/libs/farmhash/test.cc
@@ -1,4 +1,4 @@
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
#include "common.h"
diff --git a/contrib/libs/grpc/src/python/grpcio/grpc/__init__.py b/contrib/libs/grpc/src/python/grpcio/grpc/__init__.py
index abe87458c4..c0b0ece921 100644
--- a/contrib/libs/grpc/src/python/grpcio/grpc/__init__.py
+++ b/contrib/libs/grpc/src/python/grpcio/grpc/__init__.py
@@ -1473,7 +1473,7 @@ class Server(six.with_metaclass(abc.ABCMeta)):
2) A timeout occurs if timeout is not `None`.
The timeout argument works in the same way as `threading.Event.wait()`.
- https://docs.python.org/3/library/threading.html#threading.Event.wait
+ https://docs.python.org/3/library/threading.html#threading.Event.wait
Args:
timeout: A floating point number specifying a timeout for the
diff --git a/contrib/libs/libunwind/ut/libunwind_ut.cpp b/contrib/libs/libunwind/ut/libunwind_ut.cpp
index 93767c50c8..ee870be94a 100644
--- a/contrib/libs/libunwind/ut/libunwind_ut.cpp
+++ b/contrib/libs/libunwind/ut/libunwind_ut.cpp
@@ -1,4 +1,4 @@
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
#include <util/system/compiler.h>
diff --git a/contrib/libs/protobuf/src/google/protobuf/message_lite.cc b/contrib/libs/protobuf/src/google/protobuf/message_lite.cc
index a3f5437556..64384b43e4 100644
--- a/contrib/libs/protobuf/src/google/protobuf/message_lite.cc
+++ b/contrib/libs/protobuf/src/google/protobuf/message_lite.cc
@@ -514,34 +514,34 @@ TProtoStringType MessageLite::SerializePartialAsString() const {
return output;
}
-#if PROTOBUF_USE_EXCEPTIONS && defined(__cpp_lib_string_view)
-void MessageLite::ParseFromStringOrThrow(std::string_view s) {
- const bool isOk = ParseFromArray(s.data(), s.size());
- if (!isOk) {
- throw FatalException("message_lite.cc", __LINE__, "Failed to parse protobuf message " + GetTypeName());
- }
-}
-#endif
-
-#if PROTOBUF_USE_EXCEPTIONS
-TProtoStringType NProtoBuf::MessageLite::SerializeAsStringOrThrow() const {
- TProtoStringType s;
- if (!IsInitialized()) {
- //NOTE: SerializeToString (called inside SerializeAsString too) does not perform this check in release build
- // so SerializeToString in release build return false only if result size is greater than 2gb
- // but in debug build not properly inited message (without required filds) will lead to an exception
- // different control flow in debug and build release look like a bug
- throw FatalException("message_lite.cc", __LINE__, "Some required fileds are not set in message " + GetTypeName());
- }
- const bool isOk = SerializeToString(&s);
- if (!isOk) {
- throw FatalException("message_lite.cc", __LINE__, "Failed to serialize protobuf message " + GetTypeName());
- }
- return s;
-}
-#endif
-
-
+#if PROTOBUF_USE_EXCEPTIONS && defined(__cpp_lib_string_view)
+void MessageLite::ParseFromStringOrThrow(std::string_view s) {
+ const bool isOk = ParseFromArray(s.data(), s.size());
+ if (!isOk) {
+ throw FatalException("message_lite.cc", __LINE__, "Failed to parse protobuf message " + GetTypeName());
+ }
+}
+#endif
+
+#if PROTOBUF_USE_EXCEPTIONS
+TProtoStringType NProtoBuf::MessageLite::SerializeAsStringOrThrow() const {
+ TProtoStringType s;
+ if (!IsInitialized()) {
+ //NOTE: SerializeToString (called inside SerializeAsString too) does not perform this check in release build
+ // so SerializeToString in release build return false only if result size is greater than 2gb
+ // but in debug build not properly inited message (without required filds) will lead to an exception
+ // different control flow in debug and build release look like a bug
+ throw FatalException("message_lite.cc", __LINE__, "Some required fileds are not set in message " + GetTypeName());
+ }
+ const bool isOk = SerializeToString(&s);
+ if (!isOk) {
+ throw FatalException("message_lite.cc", __LINE__, "Failed to serialize protobuf message " + GetTypeName());
+ }
+ return s;
+}
+#endif
+
+
namespace internal {
template <>
diff --git a/contrib/libs/protobuf/src/google/protobuf/message_lite.h b/contrib/libs/protobuf/src/google/protobuf/message_lite.h
index 0bbf1eb6ed..149e994418 100644
--- a/contrib/libs/protobuf/src/google/protobuf/message_lite.h
+++ b/contrib/libs/protobuf/src/google/protobuf/message_lite.h
@@ -281,65 +281,65 @@ class PROTOBUF_EXPORT MessageLite {
// format. A successful return does not indicate the entire input is
// consumed, ensure you call ConsumedEntireMessage() to check that if
// applicable.
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromCodedStream(
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromCodedStream(
io::CodedInputStream* input);
// Like ParseFromCodedStream(), but accepts messages that are missing
// required fields.
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromCodedStream(
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromCodedStream(
io::CodedInputStream* input);
// Read a protocol buffer from the given zero-copy input stream. If
// successful, the entire input will be consumed.
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromZeroCopyStream(
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromZeroCopyStream(
io::ZeroCopyInputStream* input);
// Like ParseFromZeroCopyStream(), but accepts messages that are missing
// required fields.
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromZeroCopyStream(
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromZeroCopyStream(
io::ZeroCopyInputStream* input);
// Parse a protocol buffer from a file descriptor. If successful, the entire
// input will be consumed.
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromFileDescriptor(
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromFileDescriptor(
int file_descriptor);
// Like ParseFromFileDescriptor(), but accepts messages that are missing
// required fields.
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromFileDescriptor(
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromFileDescriptor(
int file_descriptor);
// Parse a protocol buffer from a C++ istream. If successful, the entire
// input will be consumed.
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromIstream(std::istream* input);
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromIstream(std::istream* input);
// Like ParseFromIstream(), but accepts messages that are missing
// required fields.
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromIstream(
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromIstream(
std::istream* input);
// Read a protocol buffer from the given zero-copy input stream, expecting
// the message to be exactly "size" bytes long. If successful, exactly
// this many bytes will have been consumed from the input.
- PROTOBUF_MUST_USE_RESULT bool MergePartialFromBoundedZeroCopyStream(io::ZeroCopyInputStream* input,
+ PROTOBUF_MUST_USE_RESULT bool MergePartialFromBoundedZeroCopyStream(io::ZeroCopyInputStream* input,
int size);
// Like ParseFromBoundedZeroCopyStream(), but accepts messages that are
// missing required fields.
- PROTOBUF_MUST_USE_RESULT bool MergeFromBoundedZeroCopyStream(io::ZeroCopyInputStream* input, int size);
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromBoundedZeroCopyStream(
+ PROTOBUF_MUST_USE_RESULT bool MergeFromBoundedZeroCopyStream(io::ZeroCopyInputStream* input, int size);
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromBoundedZeroCopyStream(
io::ZeroCopyInputStream* input, int size);
// Like ParseFromBoundedZeroCopyStream(), but accepts messages that are
// missing required fields.
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromBoundedZeroCopyStream(
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromBoundedZeroCopyStream(
io::ZeroCopyInputStream* input, int size);
// Parses a protocol buffer contained in a string. Returns true on success.
// This function takes a string in the (non-human-readable) binary wire
// format, matching the encoding output by MessageLite::SerializeToString().
// If you'd like to convert a human-readable string into a protocol buffer
// object, see google::protobuf::TextFormat::ParseFromString().
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromString(ConstStringParam data);
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromString(ConstStringParam data);
// Like ParseFromString(), but accepts messages that are missing
// required fields.
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromString(
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromString(
ConstStringParam data);
// Parse a protocol buffer contained in an array of bytes.
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromArray(const void* data,
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParseFromArray(const void* data,
int size);
// Like ParseFromArray(), but accepts messages that are missing
// required fields.
- PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromArray(const void* data,
+ PROTOBUF_ATTRIBUTE_REINITIALIZES PROTOBUF_MUST_USE_RESULT bool ParsePartialFromArray(const void* data,
int size);
@@ -354,17 +354,17 @@ class PROTOBUF_EXPORT MessageLite {
//
// ParseFromCodedStream() is implemented as Clear() followed by
// MergeFromCodedStream().
- PROTOBUF_MUST_USE_RESULT bool MergeFromCodedStream(io::CodedInputStream* input);
+ PROTOBUF_MUST_USE_RESULT bool MergeFromCodedStream(io::CodedInputStream* input);
// Like MergeFromCodedStream(), but succeeds even if required fields are
// missing in the input.
//
// MergeFromCodedStream() is just implemented as MergePartialFromCodedStream()
// followed by IsInitialized().
- PROTOBUF_MUST_USE_RESULT bool MergePartialFromCodedStream(io::CodedInputStream* input);
+ PROTOBUF_MUST_USE_RESULT bool MergePartialFromCodedStream(io::CodedInputStream* input);
// Merge a protocol buffer contained in a string.
- PROTOBUF_MUST_USE_RESULT bool MergeFromString(ConstStringParam data);
+ PROTOBUF_MUST_USE_RESULT bool MergeFromString(ConstStringParam data);
// Serialization ---------------------------------------------------
@@ -374,24 +374,24 @@ class PROTOBUF_EXPORT MessageLite {
// Write a protocol buffer of this message to the given output. Returns
// false on a write error. If the message is missing required fields,
// this may GOOGLE_CHECK-fail.
- PROTOBUF_MUST_USE_RESULT bool SerializeToCodedStream(io::CodedOutputStream* output) const;
+ PROTOBUF_MUST_USE_RESULT bool SerializeToCodedStream(io::CodedOutputStream* output) const;
// Like SerializeToCodedStream(), but allows missing required fields.
- PROTOBUF_MUST_USE_RESULT bool SerializePartialToCodedStream(io::CodedOutputStream* output) const;
+ PROTOBUF_MUST_USE_RESULT bool SerializePartialToCodedStream(io::CodedOutputStream* output) const;
// Write the message to the given zero-copy output stream. All required
// fields must be set.
- PROTOBUF_MUST_USE_RESULT bool SerializeToZeroCopyStream(io::ZeroCopyOutputStream* output) const;
+ PROTOBUF_MUST_USE_RESULT bool SerializeToZeroCopyStream(io::ZeroCopyOutputStream* output) const;
// Like SerializeToZeroCopyStream(), but allows missing required fields.
- PROTOBUF_MUST_USE_RESULT bool SerializePartialToZeroCopyStream(io::ZeroCopyOutputStream* output) const;
+ PROTOBUF_MUST_USE_RESULT bool SerializePartialToZeroCopyStream(io::ZeroCopyOutputStream* output) const;
// Serialize the message and store it in the given string. All required
// fields must be set.
- PROTOBUF_MUST_USE_RESULT bool SerializeToString(TProtoStringType* output) const;
+ PROTOBUF_MUST_USE_RESULT bool SerializeToString(TProtoStringType* output) const;
// Like SerializeToString(), but allows missing required fields.
- PROTOBUF_MUST_USE_RESULT bool SerializePartialToString(TProtoStringType* output) const;
+ PROTOBUF_MUST_USE_RESULT bool SerializePartialToString(TProtoStringType* output) const;
// Serialize the message and store it in the given byte array. All required
// fields must be set.
- PROTOBUF_MUST_USE_RESULT bool SerializeToArray(void* data, int size) const;
+ PROTOBUF_MUST_USE_RESULT bool SerializeToArray(void* data, int size) const;
// Like SerializeToArray(), but allows missing required fields.
- PROTOBUF_MUST_USE_RESULT bool SerializePartialToArray(void* data, int size) const;
+ PROTOBUF_MUST_USE_RESULT bool SerializePartialToArray(void* data, int size) const;
// Make a string encoding the message. Is equivalent to calling
// SerializeToString() on a string and using that. Returns the empty
@@ -405,20 +405,20 @@ class PROTOBUF_EXPORT MessageLite {
// Serialize the message and write it to the given file descriptor. All
// required fields must be set.
- PROTOBUF_MUST_USE_RESULT bool SerializeToFileDescriptor(int file_descriptor) const;
+ PROTOBUF_MUST_USE_RESULT bool SerializeToFileDescriptor(int file_descriptor) const;
// Like SerializeToFileDescriptor(), but allows missing required fields.
- PROTOBUF_MUST_USE_RESULT bool SerializePartialToFileDescriptor(int file_descriptor) const;
+ PROTOBUF_MUST_USE_RESULT bool SerializePartialToFileDescriptor(int file_descriptor) const;
// Serialize the message and write it to the given C++ ostream. All
// required fields must be set.
- PROTOBUF_MUST_USE_RESULT bool SerializeToOstream(std::ostream* output) const;
+ PROTOBUF_MUST_USE_RESULT bool SerializeToOstream(std::ostream* output) const;
// Like SerializeToOstream(), but allows missing required fields.
- PROTOBUF_MUST_USE_RESULT bool SerializePartialToOstream(std::ostream* output) const;
+ PROTOBUF_MUST_USE_RESULT bool SerializePartialToOstream(std::ostream* output) const;
// Like SerializeToString(), but appends to the data to the string's
// existing contents. All required fields must be set.
- PROTOBUF_MUST_USE_RESULT bool AppendToString(TProtoStringType* output) const;
+ PROTOBUF_MUST_USE_RESULT bool AppendToString(TProtoStringType* output) const;
// Like AppendToString(), but allows missing required fields.
- PROTOBUF_MUST_USE_RESULT bool AppendPartialToString(TProtoStringType* output) const;
+ PROTOBUF_MUST_USE_RESULT bool AppendPartialToString(TProtoStringType* output) const;
// Computes the serialized size of the message. This recursively calls
@@ -518,14 +518,14 @@ class PROTOBUF_EXPORT MessageLite {
return false;
}
- #if PROTOBUF_USE_EXCEPTIONS && defined(__cpp_lib_string_view)
- PROTOBUF_ATTRIBUTE_REINITIALIZES void ParseFromStringOrThrow(std::string_view s) noexcept(false);
- #endif
-
- #if PROTOBUF_USE_EXCEPTIONS
- TProtoStringType SerializeAsStringOrThrow() const noexcept(false);
- #endif
-
+ #if PROTOBUF_USE_EXCEPTIONS && defined(__cpp_lib_string_view)
+ PROTOBUF_ATTRIBUTE_REINITIALIZES void ParseFromStringOrThrow(std::string_view s) noexcept(false);
+ #endif
+
+ #if PROTOBUF_USE_EXCEPTIONS
+ TProtoStringType SerializeAsStringOrThrow() const noexcept(false);
+ #endif
+
private:
// TODO(gerbens) make this a pure abstract function
virtual const void* InternalGetTable() const { return NULL; }
@@ -600,7 +600,7 @@ bool MergeFromImpl(const SourceWrapper<T>& input, MessageLite* msg,
} // namespace internal
template <MessageLite::ParseFlags flags, typename T>
-PROTOBUF_MUST_USE_RESULT bool MessageLite::ParseFrom(const T& input) {
+PROTOBUF_MUST_USE_RESULT bool MessageLite::ParseFrom(const T& input) {
if (flags & kParse) Clear();
constexpr bool alias = (flags & kMergeWithAliasing) != 0;
return internal::MergeFromImpl<alias>(input, this, flags);
diff --git a/contrib/libs/protobuf/src/google/protobuf/port_def.inc b/contrib/libs/protobuf/src/google/protobuf/port_def.inc
index c40e6af377..57fcd53a0f 100644
--- a/contrib/libs/protobuf/src/google/protobuf/port_def.inc
+++ b/contrib/libs/protobuf/src/google/protobuf/port_def.inc
@@ -394,11 +394,11 @@
#ifdef PROTOBUF_MUST_USE_RESULT
#error PROTOBUF_MUST_USE_RESULT was previously defined
#endif
-#if !defined(MSVC_COMPILER) && __has_cpp_attribute(warn_unused_result)
-# define PROTOBUF_MUST_USE_RESULT __attribute__((warn_unused_result))
-# else
+#if !defined(MSVC_COMPILER) && __has_cpp_attribute(warn_unused_result)
+# define PROTOBUF_MUST_USE_RESULT __attribute__((warn_unused_result))
+# else
# define PROTOBUF_MUST_USE_RESULT
-# endif
+# endif
#ifdef PROTOBUF_MUST_USE_EXTRACT_RESULT
#error PROTOBUF_MUST_USE_EXTRACT_RESULT was previously defined
diff --git a/contrib/libs/protobuf/src/google/protobuf/stubs/common.h b/contrib/libs/protobuf/src/google/protobuf/stubs/common.h
index e4fae2d68e..ce4d5f4abe 100644
--- a/contrib/libs/protobuf/src/google/protobuf/stubs/common.h
+++ b/contrib/libs/protobuf/src/google/protobuf/stubs/common.h
@@ -58,8 +58,8 @@
#endif
#endif
-#define Y_PROTOBUF_SUPPRESS_NODISCARD [[maybe_unused]] bool Y_GENERATE_UNIQUE_ID(pb_checker)=
-
+#define Y_PROTOBUF_SUPPRESS_NODISCARD [[maybe_unused]] bool Y_GENERATE_UNIQUE_ID(pb_checker)=
+
#if PROTOBUF_USE_EXCEPTIONS
#include <exception>
#endif
diff --git a/contrib/libs/python/ut/lib/test.cpp b/contrib/libs/python/ut/lib/test.cpp
index e3aabc8889..b49d6ab61e 100644
--- a/contrib/libs/python/ut/lib/test.cpp
+++ b/contrib/libs/python/ut/lib/test.cpp
@@ -1,7 +1,7 @@
#include "test.h"
#include <Python.h>
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
TTestPyInvoker::TTestPyInvoker() {}
diff --git a/contrib/libs/python/ut/lib/ya.make b/contrib/libs/python/ut/lib/ya.make
index cfa0aaa612..de4a2b892c 100644
--- a/contrib/libs/python/ut/lib/ya.make
+++ b/contrib/libs/python/ut/lib/ya.make
@@ -7,7 +7,7 @@ WITHOUT_LICENSE_TEXTS()
LICENSE(YandexOpen)
PEERDIR(
- library/cpp/testing/unittest
+ library/cpp/testing/unittest
)
SRCS(
diff --git a/contrib/libs/python/ut/py2/use.cpp b/contrib/libs/python/ut/py2/use.cpp
index a4a2c8d9bb..5cce4a1571 100644
--- a/contrib/libs/python/ut/py2/use.cpp
+++ b/contrib/libs/python/ut/py2/use.cpp
@@ -1,5 +1,5 @@
#include <contrib/libs/python/ut/lib/test.h>
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
Y_UNIT_TEST_SUITE(TestPy3Binding) {
Y_UNIT_TEST(version) {
diff --git a/contrib/libs/python/ut/py3/use.cpp b/contrib/libs/python/ut/py3/use.cpp
index 8a2531bcc1..0d067c1fc1 100644
--- a/contrib/libs/python/ut/py3/use.cpp
+++ b/contrib/libs/python/ut/py3/use.cpp
@@ -1,5 +1,5 @@
#include <contrib/libs/python/ut/lib/test.h>
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
Y_UNIT_TEST_SUITE(TestPy3Binding) {
Y_UNIT_TEST(version) {
diff --git a/contrib/python/pytest/py2/_pytest/compat.py b/contrib/python/pytest/py2/_pytest/compat.py
index e5c3b84667..f04fc35b9a 100644
--- a/contrib/python/pytest/py2/_pytest/compat.py
+++ b/contrib/python/pytest/py2/_pytest/compat.py
@@ -367,7 +367,7 @@ def safe_isclass(obj):
def _is_unittest_unexpected_success_a_failure():
"""Return if the test suite should fail if an @expectedFailure unittest test PASSES.
- From https://docs.python.org/3/library/unittest.html?highlight=unittest#unittest.TestResult.wasSuccessful:
+ From https://docs.python.org/3/library/unittest.html?highlight=unittest#unittest.TestResult.wasSuccessful:
Changed in version 3.4: Returns False if there were any
unexpectedSuccesses from tests marked with the expectedFailure() decorator.
"""
diff --git a/contrib/python/pytest/py2/_pytest/python_api.py b/contrib/python/pytest/py2/_pytest/python_api.py
index f6e475c3a2..27db070b8d 100644
--- a/contrib/python/pytest/py2/_pytest/python_api.py
+++ b/contrib/python/pytest/py2/_pytest/python_api.py
@@ -472,7 +472,7 @@ def approx(expected, rel=None, abs=None, nan_ok=False):
available in subclasses of ``unittest.TestCase`` and it's ugly because it
doesn't follow PEP8. `More information...`__
- __ https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertAlmostEqual
+ __ https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertAlmostEqual
- ``a == pytest.approx(b, rel=1e-6, abs=1e-12)``: True if the relative
tolerance is met w.r.t. ``b`` or if the absolute tolerance is met.
diff --git a/contrib/python/pytest/py3/_pytest/python_api.py b/contrib/python/pytest/py3/_pytest/python_api.py
index 81ce4f8953..d7f2c26e05 100644
--- a/contrib/python/pytest/py3/_pytest/python_api.py
+++ b/contrib/python/pytest/py3/_pytest/python_api.py
@@ -469,7 +469,7 @@ def approx(expected, rel=None, abs=None, nan_ok: bool = False) -> ApproxBase:
available in subclasses of ``unittest.TestCase`` and it's ugly because it
doesn't follow PEP8. `More information...`__
- __ https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertAlmostEqual
+ __ https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertAlmostEqual
- ``a == pytest.approx(b, rel=1e-6, abs=1e-12)``: True if the relative
tolerance is met w.r.t. ``b`` or if the absolute tolerance is met.
diff --git a/contrib/python/tornado/tornado-4/tornado/testing.py b/contrib/python/tornado/tornado-4/tornado/testing.py
index 82a3b93732..9fc3d009ff 100644
--- a/contrib/python/tornado/tornado-4/tornado/testing.py
+++ b/contrib/python/tornado/tornado-4/tornado/testing.py
@@ -682,7 +682,7 @@ def main(**kwargs):
Additional keyword arguments passed through to ``unittest.main()``.
For example, use ``tornado.testing.main(verbosity=2)``
to show many test details as they are run.
- See http://docs.python.org/library/unittest.html#unittest.main
+ See http://docs.python.org/library/unittest.html#unittest.main
for full argument list.
"""
from tornado.options import define, options, parse_command_line
diff --git a/contrib/restricted/boost/arcadia_test/test_shared_ptr.cpp b/contrib/restricted/boost/arcadia_test/test_shared_ptr.cpp
index 10d0589248..88612ff1c4 100644
--- a/contrib/restricted/boost/arcadia_test/test_shared_ptr.cpp
+++ b/contrib/restricted/boost/arcadia_test/test_shared_ptr.cpp
@@ -8,7 +8,7 @@
* Данная ошибка исправляется путем довления константности к типу входящего артумента 'pe'.
*/
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
#include <boost/interprocess/smart_ptr/shared_ptr.hpp>
#include <boost/interprocess/smart_ptr/enable_shared_from_this.hpp>
#include <type_traits>
diff --git a/contrib/tools/python3/src/Lib/unittest/__init__.py b/contrib/tools/python3/src/Lib/unittest/__init__.py
index 348dc471f4..0c83332c56 100644
--- a/contrib/tools/python3/src/Lib/unittest/__init__.py
+++ b/contrib/tools/python3/src/Lib/unittest/__init__.py
@@ -24,7 +24,7 @@ Simple usage:
Further information is available in the bundled documentation, and from
- http://docs.python.org/library/unittest.html
+ http://docs.python.org/library/unittest.html
Copyright (c) 1999-2003 Steve Purcell
Copyright (c) 2003-2010 Python Software Foundation