aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:14 +0300
commit60040c91ffe701a84689b2c6310ff845e65cff42 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs
parent736dcd8ca259457a136f2f9f9168c44643914323 (diff)
downloadydb-60040c91ffe701a84689b2c6310ff845e65cff42.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs')
-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
13 files changed, 86 insertions, 86 deletions
diff --git a/contrib/libs/cctz/README b/contrib/libs/cctz/README
index b9a4415c5e..8cdda27da8 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 8ee6391220..2c64468375 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 d0ee04af9a..08d191ae7c 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 c0b0ece921..abe87458c4 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 ee870be94a..93767c50c8 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 64384b43e4..a3f5437556 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 149e994418..0bbf1eb6ed 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 57fcd53a0f..c40e6af377 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 ce4d5f4abe..e4fae2d68e 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 b49d6ab61e..e3aabc8889 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 de4a2b892c..cfa0aaa612 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 5cce4a1571..a4a2c8d9bb 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 0d067c1fc1..8a2531bcc1 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) {